package com.zb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/5/29 0029
 **/
@Data
@ApiModel("提现列表搜索对象")
public class WithdrawListSearchVo extends PageUtil {
    @ApiModelProperty(value = "字段类型：1-申请提现时间", example = "1")
    private Integer fieldType;

    @ApiModelProperty(value = "日期类型：1-今天，2-本周，3-本月，4-过去三个月，5-自定义时间区间", example = "3")
    private Integer dateType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "搜索开始时间，当dateType=5时生效")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "搜索结束时间，当dateType=5时生效")
    private Date endTime;

    @ApiModelProperty(value = "服务商ID")
    private Long networkId;

    @ApiModelProperty(value = "工程师名称")
    private String engineer;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "关键词搜索：提现单号")
    private String keyword;

    @ApiModelProperty(value = "根据提现状态查询：1-提现待审核，2-付款中/等待打款，3-打款完成，4-失败，5-驳回")
    private Integer status;
}
